package com.cassio.common.entity;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class City {
	private Integer id;
	private String name;
	private String code;
	private State state;

	public City() {}

	public City(Integer id, String name, State state) {
		this.id = id;
		this.name = name;
		this.state = state;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public State getState() {
		return state;
	}

	public void setState(State state) {
		this.state = state;
	}

}
